﻿using System;

namespace AngularJS
{
    [ImportClass("", "$q")]
    public static class Q
    {
        public static Defer Defer()
        {
            return null;
        }

        public static IPromise All(IPromise[] promises)
        {
            return null;
        }

        public static IPromise Reject(string reason)
        {
            return null;
        }

        public static IPromise When(IPromise promise)
        {
            return null;
        }

        public static IPromise When(object value)
        {
            return null;
        }
    }
}
